package com.sfzy.service;

import com.github.pagehelper.PageInfo;
import com.sfzy.entity.MyConsult;

import java.util.List;

public interface MyConsultService {
    int addMyConsult(MyConsult myConsult);
    int updateMyConsult(MyConsult myConsult);
    int deleteMyConsult(int id);
    MyConsult getMyConsult(int id);
    List<MyConsult> listMyConsult();
    PageInfo<MyConsult> listMyConsultByPage(MyConsult myConsult,int pageNum, int pageSize);
}
